package com.lh.pro.rpc;

import com.sise.bean.AdminDTO;
import com.sise.service.AdminRpcService;
import org.springframework.stereotype.Service;

/**
 * 作者：idea
 * 日期：2018/8/26
 * 描述：
 */
@Service("adminService")
public class AdminService implements AdminRpcService {
    public boolean register(AdminDTO userDTO) {
        System.out.println("[register]");
        System.out.println(userDTO.toString());
        return false;
    }

    public boolean signOff(AdminDTO userDTO) {
        System.out.println("[sigin off]");
        System.out.println(userDTO.toString());
        return false;
    }
}
